<div class="contentPages">
    
    <div id="form-header" class="size92 form-gray-stripe">
        <h1>Modalidades</h1>
        <img src="general/images/modalidade.png" width="60" height="60" alt="Informações da Empresa"/>
    </div>
    <form name="modal" class="formStyle size92 form-gray" id="modal" action="#" method="post">
        <div class="field_inline">           
            <fieldset class="fieldset-top mleft-small size80 mleft-auto">
                <div class="block">
                    <label class="size50"><span class="full">Código  </span>
                        <input type="text" name="cod" id="cod" value="{COD1}" class="size50" disabled="desabled" />
                    </label>
                </div>
                <div class="block">
                    <label class="size60"><span class="full">Nome da Modalidade <em class="form-req">*</em>  </span>
                        <input type="text" name="nome" id="nome" value="{NOME1}" class="size95" />
                    </label>   
                    <label class="size15"><span class="full">Valor <em class="form-req">*</em> </span>
                        <input type="text" name="valor" id="valor" value="{VALOR1}" class="full monetario" />
                    </label>
                </div>
                <div class="block">
                    <label class="size39"><span class="full">Quantidade Máxima de Alunos <em class="form-req">*</em>  </span>
                        <input type="text" name="qtdeAlunos" id="qtdeAlunos" value="{QTDE1}" class="size20" />
                    </label>
                    <label class="size25"><span class="full">Turno  </span>
                        <select id="turno" name="turno" class="size80">
                            <!-- BEGIN BLOCK_NOTURNO -->
                                <option value=""></option>
                            <!-- END BLOCK_NOTURNO --> 
                            
                            <!-- BEGIN BLOCK_TURNO -->
                                <option value="{TURNO_INC}" {SELECTED}>{TURNO_INC}</option>
                            <!-- END BLOCK_TURNO -->    
                        </select>
                    </label>                    
                    <label class="size35"><span class="full">Responsável  </span>
                        <select id="responsavel" name="responsavel" class="size90">
                            <!-- BEGIN BLOCK_NORESP -->
                                <option value=""></option>
                            <!-- END BLOCK_NORESP -->      

                            <!-- BEGIN BLOCK_FUNCIONARIO -->
                                <option value="{COD}" {SELECTED}>{NOME_FUNC}</option>
                            <!-- END BLOCK_FUNCIONARIO -->    
                            
                        </select>
                    </label>
                </div>
            </fieldset>
            
        <div class="boxButtons">
            
            <!-- BEGIN BLOCK_BOTAOINC -->
            <input type="submit" class="form-buttom-green" name="botao" value="Incluir" /> 
            <!-- END BLOCK_BOTAOINC -->    
            
            <!-- BEGIN BLOCK_BOTAOALT -->
            <input type="submit" class="form-buttom-green" name="botao" value="Alterar" /> 
            <!-- END BLOCK_BOTAOALT -->    

            <a href="home.php?pg=modalidades">
                <input type="submit" class="form-buttom-gray" name="botao" value="Nova" />
            </a>             
            
        </div>            
            
            <fieldset class="fieldset-top">
                <legend>Modalidades Cadastradas *</legend>
                
                <div class="tablestyle">
                    <table>
                        <thead>
                            <tr class="center">
                                <td>Código</td>
                                <td>Nome</td>
                                <td>Valor</td>
                                <td>Turno</td>
                                <td>Máximo de Alunos</td>
                                <td>Responsável</td>
                                <td>Deletar</td>
                            </tr>
                        </thead>
                        <tbody>
                            <!-- BEGIN BLOCK_MODALIDADES -->
                            <tr class="center">
                                <td><a href="home.php?pg=modalidades&id={COD}&action=alt">{COD}</a></td>
                                <td><a href="home.php?pg=modalidades&id={COD}&action=alt">{NOME}</a></td>
                                <td><a href="home.php?pg=modalidades&id={COD}&action=alt">{VALOR}</a></td>
                                <td><a href="home.php?pg=modalidades&id={COD}&action=alt">{TURNO}</a></td>
                                <td><a href="home.php?pg=modalidades&id={COD}&action=alt">{QTDE}</a></td>
                                <td><a href="home.php?pg=modalidades&id={COD}&action=alt" title="{NOME_RES}">{RESPONSAVEL}</a></td>
                                <td><a href="home.php?pg=modalidades&id={COD}&action=del"><div class="buttonTable">Deletar</div></a></td>
                            </tr>
                            <!-- END BLOCK_MODALIDADES -->    
                        </tbody>
                    </table>
                    <br />
                    <p class="mleft-small">* Clique na modalidade para alterar.</p>
                </div>
            </fieldset>
        </div>
    </form>
    
</div>